.fff {
  padding: 25px;
  background-color: #fff;
  box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
  border-radius: 12px;
  overflow: hidden;
}

.el-form-item {
  width: 90%;
  .el-form-item__label {
    height: 30px;
    width: 100%;
    line-height: 20px;
    font-size: 12px;
    color: #887e7e;
    font-weight: normal;
  }
  .el-form-item__content {
    .el-input,
    .el-textarea,
    .el-select,
    .el-autocomplete {
      width: 100%;
      &.is-disabled .el-input__inner {
        background: #f3ebeb;
        border-color: #f3ebeb;
        color: #b5abab;
      }
      input.el-input__inner,
      textarea.el-textarea__inner {
        resize: none;
        height: 40px;
        line-height: 40px;
        border: 1px solid #f8f5f5;
        background: #f8f5f5;
        border-radius: 6px;
        &:hover {
          border: 1px solid #887e7e;
        }
        &:focus,
        &.is-focus {
          border: 1px solid #ffb200 !important;
        }
      }
      .el-input-group__append {
        width: 40px;
        height: 40px;
        background: #e7dfdf;
        border-radius: 0 6px 6px 0;
        padding: 0 10px;
        border: 0;
      }
      input::-webkit-outer-spin-button,
      input::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }
      input[type="number"] {
        -moz-appearance: textfield;
      }
    }
  }
  &.formInfoTip .el-input__inner {
    border-radius: 6px 0 0 6px !important;
  }
}
.el-checkbox {
  .el-checkbox__input {
    &:hover,
    &.is-focus {
      .el-checkbox__inner {
        border-color: #ffb200;
      }
    }
    &.is-checked,
    &.is-indeterminate {
      .el-checkbox__inner {
        border-color: #ffb200;
        background-color: #ffb200;
      }
    }
  }
}
.submit {
  display: flex;
  justify-content: right;
  align-items: flex-end;
  height: 92px;
  .el-form-item {
    margin-right: 15%;
    .el-form-item__content {
      display: flex;
      justify-content: right;
      align-items: flex-end;
    }
  }
}
.el-form-item .el-form-item__content {
  height: 40px;
}
// 下拉框下拉内容
.el-select-dropdown.el-popper {
  .el-select-dropdown__item {
    .hover,
    &:hover {
      background: #fff6e2;
    }
    &.selected {
      color: #ffb200;
      font-weight: 700;
    }
  }
}
.el-cascader-node.is-active,
.el-cascader-node.in-active-path {
  color: #ffb200 !important;
  font-weight: 700 !important;
}
.el-cascader {
  width: 100%;
}

// btn
.el-button {
  height: 40px;
  border-radius: 20px;
  border: 0;
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Medium;
  font-weight: 500;
  text-align: center;
  line-height: 40px;
  color: #333;
  padding: 0;
  padding-left: 26px;
  padding-right: 26px;
  cursor: pointer;
  outline: 0;
  background: #f8f5f5;
  color: #332929;

  &:focus {
    background: #f8f5f5;
    color: #332929;
  }
  &:hover {
    background: #ffb200;
    color: #333;
  }
  &.el-button--primary {
    background: #ffb200;
    &:disabled {
      background: #f8f5f5 !important;
      color: #b5abab !important;
    }
    &:hover {
      background: #ff8e00;
      color: #333;
    }
  }
  &.el-button--success {
    background: #00be76;
    color: #fff;
    &:hover {
      background: #007a4c;
    }
    &:focus {
      color: #fff;
    }
  }
}

// table
.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #fdfcf9;
}

.el-table .el-table__body-wrapper .el-table__row--striped.hover-row td,
.el-table__body tr.el-table__row--striped:hover > td,
.el-table__body tr.hover-row > td,
.el-table__body tr:hover > td {
  background-color: #fff6e2 !important;
}

.el-table {
 .descending  .sort-caret.descending {
    border-top-color: #ffc563 !important;
  }
 .ascending  .sort-caret.ascending {
    border-bottom-color: #ffc563 !important;
  }
}
// page
.el-pagination {
  .el-pagination__sizes,
  .el-pagination__jump {
    .el-input .el-input__inner {
      background: #f8f5f5;
      border: 1px solid #f8f5f5;
      &:hover {
        border: 1px solid #887e7e;
      }
      &:focus {
        border: 1px solid #ffb200 !important;
      }
    }
  }
  button {
    &:hover {
      color: #ffb200;
    }
    &:disabled {
      color: #c0c4cc;
    }
  }
  .el-pager li {
    &.active,
    &:hover {
      color: #ffb200;
      cursor: default;
    }
  }
}

// dialog
.el-message-box__wrapper,
.el-dialog__wrapper {
  .el-message-box__header,
  .el-dialog__header {
    height: 56px;
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    font-weight: 700;
    .el-message-box__headerbtn,
    .el-dialog__headerbtn {
      &:hover i {
        color: #ffb200;
      }
    }
  }
  .el-message-box__content {
    padding: 20px 30px 28px;
  }
  .el-message-box__btns,
  .el-dialog__footer {
    padding: 0 30px 30px;
  }
}

// radio
.el-radio {
  &:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
    box-shadow: 0 0 2px 2px #ffb200;
  }
  .el-radio__input.is-checked {
    & + .el-radio__label {
      color: #ffb200;
    }
    .el-radio__inner {
      border-color: #ffb200;
      background: #ffb200;
    }
  }
  .el-radio__inner:hover {
    border-color: #ffb200;
  }
}

// 滚动条
.el-table__fixed-right {
  box-shadow: -2px -5px 5px rgb(0 0 0 / 12%);
}

.el-table--scrollable-x .el-table__body-wrapper,
html,
body {
  &::-webkit-scrollbar {
    height: 9px;
    width: 9px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(224, 216, 214, 0.5);
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: #e0d8d6;
  }
  &::-webkit-scrollbar-track-piece {
    margin-right: 3px;
    margin-left: 3px;
  }
}
.el-table--scrollable-x .el-table__body-wrapper {
  padding-bottom: 4px;
  margin-bottom: 4px;
}
html {
  margin-right: 0;
}
body.el-popup-parent--hidden {
  padding-right: 9px !important;
}
.now-data {
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  .imgIcon {
    width: 160px;
    height: 160px;
    display: inline-block;
    margin-bottom: 10px;
    background: url(http://www-wms-java.itheima.net/img/empty.4300e933.png)
      no-repeat;
    background-size: contain;
  }
}

.el-collapse {
  border: 0;
  .el-collapse-item {
    background: #fff;
    box-shadow: 0 0 6px 0 rgb(144 142 142 / 17%);
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 14px 27px 15px;
    .el-collapse-item__header,
    .el-collapse-item__wrap {
      border: 0;
    }
  }
}
